/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.doctor.netHosptial.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.doctor.netHosptial.entity.NetClinic;

import java.util.List;

/**
 * 义诊服务/互联网医院医患关联表DAO接口
 * @author xueyx
 * @version 2016-08-03
 */
@MyBatisDao
public interface NetClinicDao extends CrudDao<NetClinic> {
    //按医生ID和患者beseinfo查询
    public List<NetClinic> findListByEntity(NetClinic netClinic);

    //查询卫生院医生就医的患者及患者的数据传输状态
    public List<NetClinic> findVersionList(NetClinic netClinic);
    /**
     * 医生添加患者基本信息
     * @param netClinic 医患关系
     * @return int
     * @author WangYQ
     */
    public int relativity(NetClinic netClinic);


}